package com.sunwayworld.basemodule.rm.equipment.resource;

import com.alibaba.fastjson.JSONObject;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sunwayworld.basemodule.rm.equipment.bean.LimsEquipmentBean;
import com.sunwayworld.basemodule.rm.equipment.service.LimsEquipmentService;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import com.sunwayworld.framework.support.choosable.resource.GenericChoosableResource;

@RequestMapping("/secure/basemodule/rm/equipments")
public interface LimsEquipmentResource extends GenericResource<LimsEquipmentService, LimsEquipmentBean, Long>, GenericChoosableResource<LimsEquipmentService, LimsEquipmentBean, Long> {

    @PostMapping(value = "/update-equipstate")
    JSONObject updateEquipState(RestJsonWrapperBean jsonWrapperBean);
}
